home *** CD-ROM | disk | FTP | other *** search
- .TH TORUS
- 6 "IRIT Version 6.0"
- .SH NAME
- TORUS
-
-
-
- PolygonType TORUS( VectorType Center, VectorType Normal,
- NumericType MRadius, NumericType mRadius )
-
- Creates a TORUS geometric object, defined by Center as the center
- of the TORUS, Normal as the normal to the main plane of the TORUS,
- MRadius and mRadius as the major and minor radii of the TORUS.
- See RESOLUTION for the accuracy of the TORUS approximation as a polygonal
- model.
-
- Example:
-
- T = TORUS( vector( 0.0, 0.0, 0.0), vector( 0.0, 0.0, 1.0), 0.5, 0.2 );
-
- constructs a torus with major plane as the XY plane, major radius of 0.5,
- and minor radius of 0.2.
-